package com.party.core.dao.read.information;

import com.party.common.paging.Page;
import com.party.core.dao.read.BaseReadDao;
import com.party.core.model.information.Information;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @ClassName InformationReadDao
 * @Description
 * @Author shenliuhai
 * @Date 2020/2/6 14:33
 **/
@Repository
public interface InformationReadDao extends BaseReadDao<Information> {

    List<Information> webListPage(@Param("information")Information  information,
                                  @Param(value = "params") Map<String, Object> params, Page page);

    List<Information> mobileListPage(@Param("information")Information  information,
                                     @Param(value = "params") Map<String, Object> params,Page page);
}
